package io;

import java.util.ArrayList;

public class ScanManager {
	private static ArrayList<ArticleScanner> scanner;
	private ScanManager()
	{
		ScanManager.scanner = new ArrayList<ArticleScanner>();
		scanner.add(new CharacterScanner());
		scanner.add(new NumberScanner());
	}
	public static String[] scaning( String str)
	{
		ArrayList<String> list = new ArrayList<String>();
		for(int i = 0; i < ScanManager.scanner.size() ; i++)
		{
			scanner.get(i).scan();
		}
		String[] str_data = list.toArray(new String[list.size()]);
		return str_data;
	}
}
